The Resolution Structure
The resolution structure, of data typegxResolutionRec
, defines the format of the resolution ('resl'
) resource.
struct gxResolutionRec { short rangeType; short xMinimumResolution; short xMaximumResolution; short yMinimumResolution; short yMaximumResolution; short resolutionCount; Point resolutions[1]; }; typedef struct gxResolutionRec gxResolutionRec, *gxResolutionPtr, **gxResolutionHdl;
Field Description
rangeType
- The type of resolution range being defined. This value is currently always 1.
xMinimumResolution
- The minimum horizontal resolution supported by the driver in dots per inch (dpi).
xMaximumResolution
- The maximum horizontal resolution supported by the driver in dpi.
yMinimumResolution
- The minimum vertical resolution supported by the driver in dpi.
yMaximumResolution
- The maximum vertical resolution supported by the driver in dpi.
resolutionCount
The number of entries in theresolutions
array.resolutions
- An array of points, each of which defines a printing resolution, in dots per inch, supported by the driver. The x value of each point defines the horizontal resolution, and the y value of each point defines the vertical resolution.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help